{+include file='headers.html'+}
</head>
<body class='{+$skin+}'>
<script id=myjs language="javascript">var js=1;var sss='userinfo';</script>
<div class="user_info_table">
<table class="table user_info">
<thead><tr><th colspan="2">会员资料</th></tr></thead>
<tbody>
   <tr>   
      <th>会员账号</th><TD >{+$username+}</td>
      
      </tr>
   <tr>   
      <th>会员名称</th><TD >{+$name+}</td>
      
      </tr>
   <tr>   
      <th>盘口</th><TD >{+$panstr+}</td>
     
      
      </tr>
    <Tr>
    
     <th>账户状态</th><TD >{+$status+}</td>
     </Tr>  
    {+if $fudong==1+}
    <TR>
      <th>额度</th><td><label>{+$kmaxmoney+}</label>&nbsp;（余额:<label>{+$kmoney+}</label>）</td> 
   </tr>
    {+else+}
      <tr>
      <th>[低频]信用额度</th><td><label>{+$maxmoney+}</label>&nbsp;（余额:<label>{+$money+}</label>）</td>
      </tr><TR>
      <th>[快开]信用额度</th><td><label>{+$kmaxmoney+}</label>&nbsp;（余额:<label>{+$kmoney+}</label>）</td> 
   </tr>
    {+/if+}
 </tbody>
   </table> 

<table class="table data_table">
<thead>
   <Tr>
    <th rowspan="2"> <select id='game' style="width:100px;">
      
      
   {+section name=i loop=$game+}
      
      
      <option value="{+$game[i].gid+}" {+if $gid==$game[i].gid+}selected{+/if+}>{+$game[i].gname+}</option>
      
      
   {+/section+}
   
     
     </select>
    </th>
    <th rowspan="2"> 类别 </th>
    <th rowspan="2" style="display:none">保底赔率</th>
    <th rowspan="2">单期最高</th>
    <th rowspan="2">单注最高</th>
    <th rowspan="2">单注最低</th>
  
    {+foreach item=i from=$span+}
    <th  class="{+$i+} p" colspan="2">{+$i+}%</th>
    {+/foreach+} 
   
    </Tr>
 
   <tr> {+foreach item=i from=$span+}
    <th class="a p">A</th>
    <th class="a p">B</th>
    {+/foreach+} </tr>  
   
     </thead>
    
    <tbody>
   {+section name=i loop=$game+} 
   {+assign var=pan value=$game[i].pan+}
   {+section name=j loop=$pan+}
   <tr class="gametr g{+$game[i].gid+}">
    <td class="{+$pan[j].class+}" gid='{+$game[i].gid+}'>{+$game[i].gname+}</td>
    <td class="{+$pan[j].class+}" gid='{+$game[i].gid+}'>{+$pan[j].name+}</td>
    <td>{+$pan[j].cmaxje+}</td>
    <td>{+$pan[j].maxje+}</td>
    <td>{+$pan[j].minje+}</td> 
   
    {+if $pan[j].abcd==1+}
        {+foreach item=k from=$span+}   
           {+assign var='m' value=$k|@strtolower+}
           {+if $pan[j].ab==1+}
               {+assign var="tmp" value="points`$m`a"+}
               <td>{+$pan[j].$tmp+}</td>
               {+assign var="tmp" value="points`$m`b"+}
               <td>{+$pan[j].$tmp+}</td>
           {+else+}
                {+assign var="tmp" value="points`$m`0"+}
                <td colspan="2">{+$pan[j].$tmp+}</td>
            {+/if+} 
        {+/foreach+}
    {+else+}
         {+assign var="tmp" value=$span|@count+}
         {+assign var="tmp2" value=$tmp*2+}
         <td colspan="{+$tmp2+}">{+$pan[j].pointsa0+}</td>
    {+/if+}

    </tr>
   {+/section+}
   {+/section+}
   </tbody>
  </table>
  </div>
  </body>
  </html>